<!-- 打印 》 设备码打印 -->

<template>
  <CommonBody
    class="MaintainPrint-body"
    hasTree
    :tree="$root.device_category_tree"
    :field="$root.device_category_TREE_FIELD"
    bind="assetTypeId"
    filterTip="分类名称"
    hasReset
    @change="startList(1)"
  >
    <template #search>
      <MySearch />
    </template>

    <template #table>
      <MyTable />
    </template>

    <MyModal />
  </CommonBody>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'
import store from './store'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'PrintDevice',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixStore(store)],

  /**
   * 组件导入 (Abc.vue + Abc/index.vue)
   */
  ...CORE.components(require.context('./', true, /vue$/)),
}
</script>
